<template>
    <el-form-item label='状态'  >
     <el-radio-group v-model="status"  @change='hChange'>
      <el-radio  :label="null">全部</el-radio>
  <el-radio  :label="0">草稿</el-radio>
    <el-radio  :label="1">待审核</el-radio>
  <el-radio  :label="2">审核通过</el-radio>
    <el-radio  :label="3">审核失败</el-radio>
  <el-radio  :label="4">已删除</el-radio>
   </el-radio-group>
    </el-form-item>
</template>
<script>
export default {
  props: ['value'],
  data () {
    return {
      status: this.value
    }
  },
  methods: {
    hChange () {
      this.$emit('input', this.status)
    }
  }
}
</script>
<style scoped>

</style>
